package com.atmilan.quartz.service.impl;

import com.atmilan.quartz.mapper.FolliProductMapper;
import com.atmilan.quartz.model.entity.folli.FolliProduct;
import com.atmilan.quartz.service.IFolliProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FolliProductServiceImpl extends ServiceImpl<FolliProductMapper, FolliProduct> implements IFolliProductService {
    @Autowired
    FolliProductMapper folliProductMapper;

    @Override
    public void deleteAll() {
        folliProductMapper.deleteAll();
    }

    @Override
    public void copyAll() {
        folliProductMapper.deleteProductBack();
        folliProductMapper.copyProductBack();
    }
    
}
